<?php session_start();
if (isset($_SESSION['connect']))//On vérifie que le variable existe.
	{
	        
			$connect=$_SESSION['connect'];//On récupère la valeur de la variable de session.
		/* echo "la variable existe et vaut ".$connect; */
			}
	else
	{
	        $connect=0;//Si $_SESSION['connect'] n'existe pas, on donne la valeur "0".
			/* echo "la variable existe PAS et vaut ".$connect; */
	}
	       
	if ($connect == 0){
		header('Location: ../index.php');
	}
?>
<html lang="fr">
<head>
<meta charset="UTF-8" />
<title>Gestion : partie administration</title>
		<!-- CSS-->
			<link rel="stylesheet" type="text/css" href="../css/admin.css" />
			 <link href='http://fonts.googleapis.com/css?family=Terminal+Dosis' rel='stylesheet' type='text/css' />
		<link rel="stylesheet" href="../css/menuAdmin.css">
		<!--end CSS-->
		
		<!-- JS-->
			<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
			<script src="../js/admin/jsAdmin.js"></script>
			<script src="../js/admin/jsAdminActus.js"></script>
			<script src="../js/admin/jsAdminSlider.js"></script>
			<script src="../js/admin/jsAdminMembres.js"></script>
			<script src="../js/admin/jsAdminParties.js"></script>
			<script src="../js/admin/jsAdminProduits.js"></script>
			 <script src="../js/admin/scriptMenuAdmin.js"></script>
			 <script src="../js/admin/jsAdminImages.js"></script>
		<!--end JS-->
</head>
<body>
<div id="headerAdmin">
	<?php require_once ('admin/headerAdmin.php');?>
</div>
<div id="menuAdmin">
	<?php require_once ('admin/menuAdmin.php');?>
</div>
<div id="contenuAdmin">

</div>
</body>
</html>